
<!doctype html>
<html>
 <head>
  <script src="./myscript.js"></script>
  <script>
    const myObject = new MyClass("John");
    myObject.sayHello();
  </script>
 </head>
 <body>
 </body>
</html>